import request from "@/utils/request";

// 查询甲供材标准材料清单列表
export function listBaseManifestStandard(query) {
  return request({
    url: "/ma/baseManifestStandard/list",
    method: "get",
    params: query
  });
}

// 查询甲供材标准材料清单列表（不分页）

export function allListBaseManifestStandard(query) {
  return request({
    url: "/ma/baseManifestStandard/allList",
    method: "get",
    params: query
  });
}
// 查询甲供材标准材料清单详细
export function getBaseManifestStandard(maStandardId) {
  return request({
    url: "/ma/baseManifestStandard/" + maStandardId,
    method: "get"
  });
}

// 新增甲供材标准材料清单
export function addBaseManifestStandard(data) {
  return request({
    url: "/ma/baseManifestStandard",
    method: "post",
    data: data
  });
}

// 修改甲供材标准材料清单
export function updateBaseManifestStandard(data) {
  return request({
    url: "/ma/baseManifestStandard",
    method: "put",
    data: data
  });
}

// 删除甲供材标准材料清单
export function delBaseManifestStandard(maStandardId) {
  return request({
    url: "/ma/baseManifestStandard/" + maStandardId,
    method: "delete"
  });
}
